package com.dmxh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients   //RPC  远程调用
@EnableDiscoveryClient   //@EnableDiscoveryClient注解可加可不加，只要没有明确指出不注册到注册中心（如：配置nacos.discovery.enable=false），默认都会注册到注册中心。
public class PayApp {
    public static void main(String[] args) {
        SpringApplication.run(PayApp.class, args);
    }
}
